import request from '@/utils/request'

// 查询财报点评列表
export function listPcwReview(query) {
  return request({
    url: '/pcw/pcwReview/list',
    method: 'get',
    params: query
  })
}

// 查询财报点评详细
export function getPcwReview(id) {
  return request({
    url: '/pcw/pcwReview/' + id,
    method: 'get'
  })
}

// 保存财报点评
export function savePcwReview(data) {
  return request({
    url: '/pcw/pcwReview/save',
    method: 'post',
    data: data
  })
}

// 删除财报点评
export function delPcwReview(id) {
  return request({
    url: '/pcw/pcwReview/' + id,
    method: 'delete'
  })
}

// 导出财报点评
export function exportPcwReview(query) {
  return request({
    url: '/pcw/pcwReview/export',
    method: 'get',
    params: query
  })
}
